package com.edu.dao;

import com.edu.data.Contact;
import com.edu.data.Page;

import java.util.List;

public interface ContactMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Contact record);

    int insertSelective(Contact record);

    Contact selectByPrimaryKey(Integer id);

    List<Contact> selectAll();

    List<Contact> selectByPage(Page page);

    Long selectCount();

    int updateByPrimaryKeySelective(Contact record);

    int updateByPrimaryKey(Contact record);
}